simulateBotResponse

suspend fun simulateBotResponse(userMessage: String)

Simulates the bot's response to the user's input. This introduces a small delay before the bot replies to make the interaction feel more natural.

Currently there is a delay of 500 ms, It may need to be removed, as could be possible for the user to send messages too quickly, interrupting dialogue branch logic (this has not occurred to me while testing, so I don't know if this is actually something that can happen)

Parameters

userMessage

The user's input message.